package user;

public abstract class User {
    private String name;
    private int userID;
    private String role;

    public User(String name, int userID, String role) {
        this.name = name;
        this.userID = userID;
        this.role = role;
    }

    public String getName() {
        return name;
    }

    public int getUserID() {
        return userID;
    }

    public String getRole() {
        return role;
    }

    //定义菜单方法，该方法打印菜单同时 输出菜单的选择
    public abstract int display();
}
